home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 26 / AMIGAplus Sonderheft 26 (2000)(Falke)(DE)(Track 1 of 2)[!].iso / Tools / GFX-Viewer / Animviewer / mpegvideo_datatype / vmm.h < prev    next >
C/C++ Source or Header  |  1999-03-29  |  767b  |  32 lines

  1.  
  2. #ifndef VMM_H
  3. #define VMM_H 1
  4.  
  5. /*
  6. **
  7. **  $VER: vmm.h 1.10 (16.10.97)
  8. **  mpegvideo.datatype 1.10
  9. **
  10. **  includes for VMM support (virtual memory)
  11. **
  12. **  Written 1996/1997 by Roland 'Gizzy' Mainz
  13. **
  14. */
  15.  
  16. /* amiga prototypes */
  17. APTR  AllocVMem( unsigned long byteSize, unsigned long requirements );
  18. void  FreeVMem( APTR memoryBlock, unsigned long byteSize );
  19. ULONG AvailVMem( unsigned long requirements );
  20. APTR  AllocVVec( unsigned long byteSize, unsigned long requirements );
  21. void  FreeVVec( APTR memoryBlock );
  22.  
  23. /* amiga pragmas */
  24. #pragma libcall VMMBase AllocVMem  1e 1002
  25. #pragma libcall VMMBase FreeVMem   24 0902
  26. #pragma libcall VMMBase AvailVMem  2a 101
  27. #pragma libcall VMMBase AllocVVec  30 1002
  28. #pragma libcall VMMBase FreeVVec   36 901
  29.  
  30. #endif /* !VMM_H */
  31.  
  32.